home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_02_05 / 2n05065b < prev    next >
Text File  |  1991-03-25  |  274b  |  18 lines

  1.  
  2. /*
  3.  * Display the size of a sizeof expression and of size_t
  4.  */
  5. #include <stdio.h>
  6.  
  7. char huge s[80000];
  8.  
  9. int main(void)
  10.     {
  11.     printf("%lu\n", (unsigned long)sizeof(sizeof(s)));
  12.     printf("%lu\n", (unsigned long)sizeof(size_t));
  13.     return 0;
  14.     }
  15.  
  16.  
  17.  
  18.